package com.constant;

import java.io.File;

/**
 * @author Yadasu
 * @date 2020/12/14 14:06
 */
public class AppConstant {
    //默认分页起始为第一页
    public static final Integer INIT_PAGE = 0;
    //分页时是从0开始的，但是前端传来的页码是从1开始 ，所以需要一个参数进行调整
    public static final Integer DEFAULT_NUM = 1;
    //默认每页数据为10条
    public static final Integer INIT_PAGE_SIZE = 10;
    //默认密码为123456
    public static final String DEFAULT_PASSWORD = "123456";
    //默认状态
    public static final Boolean DEFAULT_IS_ENABLE = false;
    //默认是否时admin
    public static final Boolean DEFAULT_IS_ADMIN = false;
    //默认状态信息
    public static final Integer DEFAULT_STATUS = 1;
    //默认状态信息
    public static final Integer DEFAULT_REMOTE_DEVELOPMENT_STATUS = 0;
    //redis
    public static final String DEFAULT_NAME_PREFIX = "USER_TOKEN";
    //linux 存储路径
    public static final String LINUX_STORAGE_LOCATION = "/usr/local/test";
    //windows 存储路径
    public static final String WINDOWS_STORAGE_LOCATION = "C:"+File.separator+"Users"+File.separator+"Administrator"+File.separator+"Desktop"+File.separator+"test";
    //默认flag值
    public static final Boolean DEFAULT_FLAG = false;
    //默认存储路径
    public static final String DEFAULT_SAVE_PATH = "D:"+File.separator+"testLocalStorage";
    //脚本执行
    public static final String DEFAULT_COMMAND = "cmd /c D:\\testb\\app.bat";

    public static final String DEFAULT_COMMAND_WINDOWS="D:"+File.separator+"testLocalStorage"+File.separator+"app.bat";
    public static final String DEFAULT_SCRIPT_NAME="app.bat";
    //sftp服务器默认端口
    public static final Integer DEFAULT_SERVER_PORT=21;

    public static final String DEFAULT_SUFFIX=".7z";

    public static final Integer DEFAULT_TELNET_PORT=22;


    public  static  final  String DEFAULT_SAVE_FOLDER="D:"+File.separator+"testLocalStorage";




}
